package com.hzw.net.page.status

import com.scwang.smart.refresh.layout.api.RefreshLayout

interface IAbnormalStatus: IPageStatus {
    /**
     * 能否下拉刷新
     */
    var isEnableRefresh: Boolean

    /**
     * 刷新
     */
    fun onRefresh(refreshLayout: RefreshLayout)

    /**
     * 重试
     */
    fun onRetry()

    fun initView()

    fun changeView(iconResId: Int, text: String, retryText: String?)

}